package com.neuedu.service;

import com.neuedu.pojo.AdminTable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.pojo.CadreTable;
import com.neuedu.pojo.Result;

import java.util.List;

/**
* @author Administrator
* @description 针对表【admin_table(管理员信息表)】的数据库操作Service
* @createDate 2025-06-17 09:04:08
*/
public interface AdminTableService extends IService<AdminTable> {

    Result<AdminTable> getAdminTableById(Integer id);

    Result<List<AdminTable>> getAdminTables(Integer currentPage, Integer pageSize,String phone, String adminName);

    Result<Void> addAdminTable(AdminTable adminTable);

    Result<Void> updateAdminTable(AdminTable adminTable);

    Result<Void> deleteAdminTable(Integer id);
    Result<AdminTable>loginAdmin(String number, String password);

}
